package cn.hls.service.impl;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import cn.hls.dao.SmsAdviceDao;
import cn.hls.entity.SmsAdvice;
import cn.hls.entity.vo.PageInfo;
import cn.hls.service.SmsAdviceService;
@Service("smsAdviceService")
public class SmsAdviceSerivceBean extends BaseServiceBean<SmsAdvice> implements
		SmsAdviceService {

	@Resource(name="smsAdviceDao")
	private SmsAdviceDao dao;
	 
	@Override
	public boolean exists(SmsAdvice entity) throws Exception {
		return dao.exists(entity);
	}

	@Override
	public PageInfo<SmsAdvice> loadSmsAdviceInfo(PageInfo<SmsAdvice> page,
			SmsAdvice entity) throws Exception {
		return dao.loadSmsAdviceInfo(page, entity);
	}

}
